Release 10.1A: OpenEdge Development:
Progress 4GL Reference
CALL-TYPE attribute
The type of call, which must be the dynamic version of one of the following:
- Invoking an external or internal procedure.
- Invoking a user-defined function.
- Getting an attribute.
- Setting an attribute.
Data type: INTEGER Access: Readable/Writable Applies to: CALL object handle- Invoking a method.
You can use a keyword constant or an integer. Table 54 lists the keyword constants and integers you can use.
Table 54: Keyword constants for the CALL-TYPE attribute Keyword constant Integer PROCEDURE-CALL-TYPE 1 FUNCTION-CALL-TYPE 2 GET-ATTR-CALL-TYPE 3 SET-ATTR-CALL-TYPE 4
The default is PROCEDURE-CALL-TYPE.
To get the value of an attribute or to invoke a method, set CALL-TYPE to GET-ATTR-CALL-TYPE.
To set the value of
object:attributeto the first parameter set by the SET-PARAMETER( ) method, set CALL-TYPE to SET-ATTR-CALL-TYPE, as in the following fragment:
Note: Progress Software Corporation recommends that you do not set the CALL object's CALL-TYPE attribute to SET-ATTR-CALL-TYPE to set a BUFFER-FIELD object's BUFFER-VALUE attribute, since there in no way to run triggers for the target field.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |